package aod.android.com.bernay.fixing.activity;

import com.baidu.mapapi.map.MapView;

import aod.android.com.bernay.R;
import aod.android.com.bernay.base.BernayBaseActivity;
import chen.lion.hilib.view.bind.HiView;

public class FixingMapActivity extends BernayBaseActivity {

    @HiView(R.id.bmapView)
    private MapView mMapView;
    @Override
    protected int initLayout() {
        return R.layout.activity_fixinmap;
    }

    @Override
    protected void initData() {
        initTitle("行驶轨迹");
    }

    @Override
    protected void onResume() {
        super.onResume();
        //在activity执行onResume时执行mMapView. onResume ()，实现地图生命周期管理
        mMapView.onResume();
    }
    @Override
    protected void onPause() {
        super.onPause();
        //在activity执行onPause时执行mMapView. onPause ()，实现地图生命周期管理
        mMapView.onPause();
    }
    @Override
    protected void onDestroy() {
        super.onDestroy();
        //在activity执行onDestroy时执行mMapView.onDestroy()，实现地图生命周期管理
        mMapView.onDestroy();
    }
}
